package com.gugee.tiktok.web.model.mysql;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * @author yzz
 * @Date 2020-09-27 18:20:42
 */
@Data
@Table(value="region")
public class Region implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     *国家编码
     */
    @Column(value="code")
    private String code;

    /**
     *创建人
     */
    @Column(value="create_by")
    private String createBy;

    /**
     *下单时间
     */
    @Column(value="create_date")
    private java.util.Date createDate;

    /**
     *创建时间
     */
    @Column(value="create_time")
    private Long createTime;

    /**
     *主键
     */
    @Id
    @Column(value="id")
    private Integer id;

    /**
     *国家名称
     */
    @Column(value="name")
    private String name;

    /**
     *更新人
     */
    @Column(value="update_by")
    private String updateBy;

    /**
     *更新时间
     */
    @Column(value="update_time")
    private Long updateTime;

}